<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of wall
 *
 * @author user
 */
class Location extends Model {
    public function __construct() {
        parent::__construct('location');
    }

    function get_location($id) {
        return $this->select($id);
    }

    function get_locations() {
        return $this->select_all();
    }
}
?>
